<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--赋值：<span th:test="${userName}">usrName</span><br>-->
<!--拼接：<span th:test="'Hello'+${userName}+'!'">Hello userName!</span><br/>-->
<!--拼接：<span th:test="|Hello'+${userName}+'!|">Hello userName!</span><br/>-->
<h1>基本对象</h1>
<!--<p th:text="${#request.getAttribute('test')}"></p>-->
<p th:text="${test}"></p>
<p th:text="${session.test}"></p>
<h1>Utility</h1>
<p th:text="${#dates.format(data,'yyyy-MM-dd HH:mm:ss')}">2019-11-27 15:56:30</p>
<p th:text="${#dates.createToday()}">2019-11-27</p>

</body>
</html>